local dir "~\Dropbox\Working Papers\Distinction Effect"
cd "`dir'"

qui do "Does\Data Processing\0. Cleaning Programs.do"


//Indystry Codes Rev 3.0
use "Data\Intermediates\IndystryCodes_CIIU3.dta", clear
rename industry_name industry_name3
rename industry_code industry_code3

//Indystry Codes Rev 3.1
merge 1:1 ciiu using "Data\Intermediates\IndystryCodes_CIIU31.dta"
drop _merge

matchit industry_name3 industry_name, gen(phone_score)

rename industry_name industry_name31
rename industry_code industry_code31

order ciiu industry_code* phone  industry_name*

save "Data\Intermediates\IndystryCodes_CIIU3_31.dta", replace
